package com.nt.oam.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nt.common.annotation.Excel;
import com.nt.common.core.domain.BaseEntity;

/**
 * 软件资产对象 ant_software_asset
 *
 * @author JZFeng
 * @date 2025-02-05
 */
@TableName(resultMap = "com.nt.oam.mapper.AntSoftwareAssetMapper.AntSoftwareAssetResult" )
public class AntSoftwareAsset extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 软件资产信息
     */
    @TableId(value = "software_asset_id" , type = IdType.AUTO)
    private Long softwareAssetId;

    /**
     * 医院id
     */
    private Long hospitalId;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 资产id
     */
    private Long assetId;

    /**
     * 医院名称
     */
    @Excel(name = "医院名称" )
    private String hospitalName;

    /**
     * 项目名称
     */
    @Excel(name = "项目名称" )
    private String projectName;

    /**
     * 资产名称
     */
    @Excel(name = "资产名称" )
    private String assetName;

    /**
     * 软件资产类型
     */
    @Excel(name = "软件资产类型" )
    private String softwareAssetType;

    /**
     * 备份文件
     */
    private String backupFile;

    /**
     * 更新文件
     */
    private String updateFile;

    /**
     * 程序位置
     */
    private String eisProgramLocation;

    /**
     * 日志位置
     */
    private String logsLocation;

    /**
     * 接口程序位置
     */
    private String interfaceProgramLocation;

    /**
     * 第三方接口位置
     */
    private String thirdInterfaceLocation;

    /**
     * 调用方式
     */
    @Excel(name = "调用方式" )
    private String callingMode;

    /**
     * 创建人
     */
    private String createPerson;

    /**
     * 更新人
     */
    private String updatePerson;

    /**
     * 是否删除
     */
    private Integer isDeleted;
    /**
     * 是否正在修改, 0-不在修改， 1-正在修改
     */
    private Integer isModify;

    public void setSoftwareAssetId(Long softwareAssetId) {
        this.softwareAssetId = softwareAssetId;
    }

    public Long getSoftwareAssetId() {
        return softwareAssetId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setAssetId(Long assetId) {
        this.assetId = assetId;
    }

    public Long getAssetId() {
        return assetId;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }

    public String getAssetName() {
        return assetName;
    }

    public void setSoftwareAssetType(String softwareAssetType) {
        this.softwareAssetType = softwareAssetType;
    }

    public String getSoftwareAssetType() {
        return softwareAssetType;
    }

    public void setBackupFile(String backupFile) {
        this.backupFile = backupFile;
    }

    public String getBackupFile() {
        return backupFile;
    }

    public void setUpdateFile(String updateFile) {
        this.updateFile = updateFile;
    }

    public String getUpdateFile() {
        return updateFile;
    }

    public void setEisProgramLocation(String eisProgramLocation) {
        this.eisProgramLocation = eisProgramLocation;
    }

    public String getEisProgramLocation() {
        return eisProgramLocation;
    }

    public void setLogsLocation(String logsLocation) {
        this.logsLocation = logsLocation;
    }

    public String getLogsLocation() {
        return logsLocation;
    }

    public void setInterfaceProgramLocation(String interfaceProgramLocation) {
        this.interfaceProgramLocation = interfaceProgramLocation;
    }

    public String getInterfaceProgramLocation() {
        return interfaceProgramLocation;
    }

    public void setThirdInterfaceLocation(String thirdInterfaceLocation) {
        this.thirdInterfaceLocation = thirdInterfaceLocation;
    }

    public String getThirdInterfaceLocation() {
        return thirdInterfaceLocation;
    }

    public void setCallingMode(String callingMode) {
        this.callingMode = callingMode;
    }

    public String getCallingMode() {
        return callingMode;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() {
        return createPerson;
    }

    public void setUpdatePerson(String updatePerson) {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() {
        return updatePerson;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsModify(Integer isModify) {
        this.isModify = isModify;
    }

    public Integer getIsModify() {
        return isModify;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("softwareAssetId" , getSoftwareAssetId())
                .append("hospitalId" , getHospitalId())
                .append("projectId" , getProjectId())
                .append("assetId" , getAssetId())
                .append("hospitalName" , getHospitalName())
                .append("projectName" , getProjectName())
                .append("assetName" , getAssetName())
                .append("softwareAssetType" , getSoftwareAssetType())
                .append("backupFile" , getBackupFile())
                .append("updateFile" , getUpdateFile())
                .append("eisProgramLocation" , getEisProgramLocation())
                .append("logsLocation" , getLogsLocation())
                .append("interfaceProgramLocation" , getInterfaceProgramLocation())
                .append("thirdInterfaceLocation" , getThirdInterfaceLocation())
                .append("callingMode" , getCallingMode())
                .append("createTime" , getCreateTime())
                .append("createPerson" , getCreatePerson())
                .append("updateTime" , getUpdateTime())
                .append("updatePerson" , getUpdatePerson())
                .append("isDeleted" , getIsDeleted())
                .append("isModify" , getIsModify())
                .toString();
    }
}
